package entity.productEntity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Category {
    private Long id;

    private Long parent_id;

    private String name;

    private Integer level;

    private Integer product_count;

    private String product_unit;

    private Integer sort;

    private String description;
    private List<Category> children;
    private Integer count;
}